A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Episode.php

Line Number: 26

Backtrace:

File: /var/www/html/app/application/controllers/Episode.php
Line: 26
Function: _error_handler

File: /var/www/html/app/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /var/www/html/app/system/core/Exceptions.php:271)

Filename: core/Common.php

Line Number: 570

Backtrace:

File: /var/www/html/app/application/controllers/Episode.php
Line: 26
Function: query

File: /var/www/html/app/index.php
Line: 315
Function: require_once

Database Error

A Database Error Occurred

Error Number: 1064

You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'ORDER BY id DESC' at line 1

SELECT * FROM tbl_podcast WHERE status = 1 AND display = 1 AND shows_id = ORDER BY id DESC

Filename: controllers/Episode.php

Line Number: 26